WCBEditor\Admin\Ajax D

Total Complexity 148
Dependencies 7
Dependents 1
Total lines 744
Lines of code 579
Logical lines of code 345
Comment lines 16
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
save_products()
C
38 24 65
load_products()
B
34 19 92
product_duplicate()
A
42 9 53
filter_variation()
A
43 9 45
revert_history_product_attribute()
S
58 8 13
link_all_variations()
S
52 6 24
search_products()
S
53 6 20
revert_history_single_product()
S
60 6 12
add_new_attribute()
S
54 5 20
parse_variation_filter_meta_time()
S
57 5 16
ajax_action()
S
59 5 13
generate_unique_slug()
S
55 4 18
search_tags()
S
58 4 15
save_settings()
S
55 3 18
recover_history()
S
65 4 9
revert_history_all_products()
S
67 3 7
load_history_page()
S
69 3 6
parse_variation_filter_meta()
S
63 3 10
set_full_screen_option()
S
66 3 8
add_variation()
S
58 2 14
add_new_product()
S
60 2 13
define_actions()
S
54 1 25
view_history_point()
S
68 2 7
instance()
S
78 2 3
call_hooks_after_product_update()
S
63 2 10
add_filter_data()
S
63 2 10
duplicate_product()
S
65 2 9
orderby_price()
S
61 1 14
__construct()
S
75 1 4
auto_save_revision()
S
78 1 3
get_linked_variations()
S
80 1 3